#include<stdio.h>
int main()
{
	int row, col, kong;//row表示行;col表示每行输出的*数;kong表示每一行的空格数
	for (row = 1; row <= 9; row++)
	{
		if (row == 1)
		{
			for (kong = 1; kong <= 2; kong++)
				printf(" ");
			for (col = 1; col <= 3; col++)
				printf("*");
			for (kong = 1; kong <= 3; kong++)
				printf(" ");
			for (col = 1; col <= 3; col++)
				printf("*");
		}
		if (row == 2)
		{
			printf(" ");
			for (col = 1; col <= 5; col++)
				printf("*");
			printf(" ");
			for (col = 1; col <= 5; col++)
				printf("*");
		}
		if (row == 3 || row == 4)
		{
			printf(" ");
			for (col = 1; col <= 11; col++)
				printf("*");
		}
		if (row == 5)
		{
			printf(" ");
			printf(" ");
			for (col = 1; col <= 9; col++)
				printf("*");
		}
		if (row == 6)
		{
			printf(" ");
			printf(" ");
			printf(" ");
			for (col = 1; col <= 7; col++)
				printf("*");
		}
		if (row == 7)
		{
			printf(" ");
			printf(" ");
			printf(" ");
			printf(" ");
			for (col = 1; col <= 5; col++)
				printf("*");
		}
		if (row == 8)
		{
			for (kong = 1; kong <= 5; kong++)
				printf(" ");
				for (col = 1; col <= 3; col++)
					printf("*");
		}
		if (row == 9)
		{
			for (kong = 1; kong <= 6; kong++)
				printf(" ");
			printf("*");
		}
		printf("\n");
	}
	return 0;
}